package playGround.square;

import java.math.BigDecimal;
import java.util.Map;

import playGround.border.Border;
import playGround.border.Wall;
import playGround.dungeon.Direction;
import be.kuleuven.cs.som.annotate.Raw;

/**
 * @author 	Maarten Christiaen, Niels Claeys
 * @version 2.3
 */
public class OrdinarySquare extends TeleportationSquare {
	/**
	 * The constructor of the Square class.
	 * @param {@inheritDoc}
	 * @pre   {@inheritDoc}  
	 * @post  {@inheritDoc}	
	 */
	@Raw
	public OrdinarySquare(int temperature, BigDecimal humidity,
			Scale temperatureScale,Map<Direction, Border> borders) throws IllegalArgumentException {
		super(temperature, humidity, temperatureScale,borders);

	}
	/**
	 * Initialize this new square with temperature zero degrees celcius, humidity zero percent and with one wall in direction North. 
	 * @effect 	This new square is initialized with temperature 0, scale CELCIUS, humidity 0 and with one wall in direction North.
	 * 			|this(0,new BigDecimal(0), Scale.CELCIUS, (new HashMap<Direction, Border>()).put(Direction.NORTH, new Wall(false)))
	 * 
	 */
	public OrdinarySquare() {
		super(0,new BigDecimal(0),Scale.CELCIUS);
		Border wall = new Wall(false);
		super.addBorder(Direction.NORTH,wall);
	}
	
	
}
